package com.woniuxy.joylifecenter.service;

import com.woniuxy.common.entity.CenterAuth;



import java.util.List;

public interface AuthService {
    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/8
     * @Param [centerAuth]
     * @Description 添加权限
     **/
    int addAuth(CenterAuth centerAuth);

  /**
  *@Author ArmWatt
  *@Date 2020/5/8
  *@Param [centerAuth]
  *@return java.util.List<com.woniuxy.common.entity.CenterAuth>
  *@Description 权限添加验重
  **/
    List<CenterAuth> queryAuthByName(CenterAuth centerAuth);

    /**
    *@Author ArmWatt
    *@Date 2020/5/8
    *@Param [centerAuth]
    *@return java.util.List<com.woniuxy.common.entity.CenterAuth>
    *@Description 多条件模糊查询权限
    **/
    List<CenterAuth> queryAuthByCondition(CenterAuth centerAuth);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/8
     * @Param [centerAuth]
     * @Description 编辑权限
     **/
    int editAuth(CenterAuth centerAuth);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/8
     * @Param [centerAuth]
     * @Description 权限编辑验重
     **/
    int editVerify(CenterAuth centerAuth);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/8
     * @Param [authId]
     * @Description 删除单个权限
     **/
    int deleteAuth(String authId);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/8
     * @Param [authIds]
     * @Description 批量删除权限
     **/
    int batchDeleteAuth(List<String> authIds);


}
